﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace ESSManageService.Model.DBModels.Info
{
    /// <summary>
    /// 课程信息表
    /// </summary>
    [SugarTable("Course_Info", tableDescription: "课程信息表")]
    public class CourseInfo : DbBase
    {
        /// <summary>
        /// 课程唯一ID
        /// <summary>
        [SugarColumn(IsPrimaryKey = true, ColumnName = "id", IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 课程名称
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string name { get; set; }

        /// <summary>
        /// 课程描述
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string description { get; set; }

        /// <summary>
        /// 课程分组
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string course_group { get; set; }

        /// <summary>
        /// 课程标签
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string course_label { get; set; }

        /// <summary>
        /// 操作设备类型	
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string device_type { get; set; }

        /// <summary>
        /// 培训时长
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public int duration { get; set; }

        /// <summary>
        /// 场景类型信息
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string scenario_type { get; set; }

        /// <summary>
        /// 地面类型信息
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string ground_type { get; set; }

        /// <summary>
        /// 地面硬度
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string hardness { get; set; }

        /// <summary>
        /// 障碍物信息
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string obstacles { get; set; }

        /// <summary>
        /// KPI配置列表
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string kpi { get; set; }

        /// <summary>
        /// 校验规则列表
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string validation_rules { get; set; }

        /// <summary>
        /// 天气参数
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string environment_weather { get; set; }

        /// <summary>
        /// 时间参数
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string environment_time { get; set; }

        /// <summary>
        /// 课程状态（0-停用1-启用）
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string class_status { get; set; }

        /// <summary>
        /// 删除标记（0-未删除1-已删除）
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string del_flag { get; set; }
    }
}
